package cn.unknowpupil.init.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created at 2020/11/13 by w10g <br>
 * Initialize UsernamePasswordLoginDto ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Data
public class UsernamePasswordLoginDto {
    private static final long serialVersionUID = -1613661557992173967L;
    @NotBlank(message = "密码为必传项")
    @ApiModelProperty(value = "密码")
    private String password;
    @NotBlank(message = "用户名为必传项")
    @ApiModelProperty(value = "用户名")
    private String username;
    @NotBlank(message = "uuid为必传项")
    @ApiModelProperty(value = "uuid")
    private String uuid;
    @NotBlank(message = "验证码为必传项")
    @ApiModelProperty(value = "code")
    private String code;
}
